package estagio.visao;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.SystemColor;
import javax.swing.JTextField;
import javax.swing.JButton;

@SuppressWarnings({ "unused", "serial" })
public class TelaCadastrarEmpresa extends JFrame {

	private JPanel contentPane;
	private JTextField textFieldEmailEmpresa;
	private JTextField textFieldNomeEmpresa;
	private JTextField textFieldEnderecoEmpresa;
	private JTextField textFieldTelefoneEmpresa;
	private JTextField textFieldCnpjEmpresa;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TelaCadastrarEmpresa frame = new TelaCadastrarEmpresa();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TelaCadastrarEmpresa() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 600, 500);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblCadastrarEmpresa = new JLabel("Cadastrar Empresa");
		lblCadastrarEmpresa.setForeground(SystemColor.controlShadow);
		lblCadastrarEmpresa.setFont(new Font("Cambria", Font.PLAIN, 20));
		lblCadastrarEmpresa.setBounds(225, 11, 165, 24);
		contentPane.add(lblCadastrarEmpresa);
		
		textFieldEmailEmpresa = new JTextField();
		textFieldEmailEmpresa.setColumns(10);
		textFieldEmailEmpresa.setBounds(205, 255, 237, 24);
		contentPane.add(textFieldEmailEmpresa);
		
		textFieldNomeEmpresa = new JTextField();
		textFieldNomeEmpresa.setColumns(10);
		textFieldNomeEmpresa.setBounds(205, 171, 237, 24);
		contentPane.add(textFieldNomeEmpresa);
		
		JLabel lblNome = new JLabel("Nome:");
		lblNome.setForeground(SystemColor.controlShadow);
		lblNome.setFont(new Font("Cambria", Font.PLAIN, 17));
		lblNome.setBounds(148, 170, 47, 21);
		contentPane.add(lblNome);
		
		JLabel lblEndereo = new JLabel("Endere\u00E7o:");
		lblEndereo.setForeground(SystemColor.controlShadow);
		lblEndereo.setFont(new Font("Cambria", Font.PLAIN, 17));
		lblEndereo.setBounds(123, 212, 72, 21);
		contentPane.add(lblEndereo);
		
		textFieldEnderecoEmpresa = new JTextField();
		textFieldEnderecoEmpresa.setColumns(10);
		textFieldEnderecoEmpresa.setBounds(205, 213, 237, 24);
		contentPane.add(textFieldEnderecoEmpresa);
		
		JLabel label_2 = new JLabel("E-mail:");
		label_2.setForeground(SystemColor.controlShadow);
		label_2.setFont(new Font("Cambria", Font.PLAIN, 17));
		label_2.setBounds(143, 254, 52, 21);
		contentPane.add(label_2);
		
		textFieldTelefoneEmpresa = new JTextField();
		textFieldTelefoneEmpresa.setColumns(10);
		textFieldTelefoneEmpresa.setBounds(205, 296, 237, 24);
		contentPane.add(textFieldTelefoneEmpresa);
		
		JLabel lblTelefone = new JLabel("Telefone:");
		lblTelefone.setForeground(SystemColor.controlShadow);
		lblTelefone.setFont(new Font("Cambria", Font.PLAIN, 17));
		lblTelefone.setBounds(129, 295, 66, 21);
		contentPane.add(lblTelefone);
		
		JButton btnSair = new JButton("Sair");
		btnSair.setForeground(SystemColor.controlDkShadow);
		btnSair.setFont(new Font("Cambria", Font.PLAIN, 17));
		btnSair.setBounds(60, 397, 115, 37);
		contentPane.add(btnSair);
		
		JButton btnMenu = new JButton("Menu");
		btnMenu.setForeground(SystemColor.controlDkShadow);
		btnMenu.setFont(new Font("Cambria", Font.PLAIN, 17));
		btnMenu.setBounds(249, 397, 115, 37);
		contentPane.add(btnMenu);
		
		JButton btnCadastrar = new JButton("Cadastrar");
		btnCadastrar.setForeground(SystemColor.controlDkShadow);
		btnCadastrar.setFont(new Font("Cambria", Font.PLAIN, 17));
		btnCadastrar.setBounds(436, 397, 115, 37);
		contentPane.add(btnCadastrar);
		
		textFieldCnpjEmpresa = new JTextField();
		textFieldCnpjEmpresa.setColumns(10);
		textFieldCnpjEmpresa.setBounds(205, 126, 237, 24);
		contentPane.add(textFieldCnpjEmpresa);
		
		JLabel lblCnpj = new JLabel("Cnpj:");
		lblCnpj.setForeground(SystemColor.controlShadow);
		lblCnpj.setFont(new Font("Cambria", Font.PLAIN, 17));
		lblCnpj.setBounds(158, 125, 37, 21);
		contentPane.add(lblCnpj);
	}

}
